from django.contrib import admin
from patients.models import PatientModel


class PatientModelAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'sex', 'birthday', 'weight']
    ordering = ['id']
    search_fields = ['name']


admin.site.register(PatientModel, PatientModelAdmin)
